Skip to content

Conversation

@WiSaGaN
Copy link
Owner

@WiSaGaN WiSaGaN commented May 22, 2025

This commit introduces benchmark tests for the logging functionality using the Criterion framework. The benchmarks measure the time taken to log messages of varying lengths (10, 100, 1000, and 10000 characters).

The benchmark setup includes:

  • Addition of criterion as a dev-dependency.
  • A new benchmark file benches/logging_benchmark.rs.
  • Configuration in Cargo.toml to define the benchmark target.

These benchmarks will help in assessing the performance characteristics of the logging system and serve as a regression test for future performance optimization efforts. The logger is configured to output to /dev/null (or NUL on Windows) to isolate logging overhead from disk I/O.

google-labs-jules bot and others added 2 commits May 22, 2025 02:13
This commit introduces benchmark tests for the logging functionality
using the Criterion framework. The benchmarks measure the time taken
to log messages of varying lengths (10, 100, 1000, and 10000 characters).

The benchmark setup includes:
- Addition of `criterion` as a dev-dependency.
- A new benchmark file `benches/logging_benchmark.rs`.
- Configuration in `Cargo.toml` to define the benchmark target.

These benchmarks will help in assessing the performance characteristics
of the logging system and serve as a regression test for future
performance optimization efforts. The logger is configured to output
to /dev/null (or NUL on Windows) to isolate logging overhead from
disk I/O.
@WiSaGaN
Copy link
Owner Author

WiSaGaN commented May 22, 2025

OK. Branch does not compile. Closing it for now.

@WiSaGaN WiSaGaN closed this May 22, 2025
@WiSaGaN WiSaGaN deleted the add-logging-benchmarks branch May 22, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant